package com.woniu.mealsService.service;

import com.woniu.mealsService.model.StoreFileUpload;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 商铺文件上传表 服务类
 * </p>
 *
 * @author jiang
 * @since 2024年12月09日
 */
public interface StoreFileUploadService extends IService<StoreFileUpload> {

    String upload(MultipartFile file, String userId) throws IOException;
    void bindFileUploadId(Long fileUploadId, String file_path);

    void updateFile(String fileUploadId, MultipartFile file, String userId) throws IOException;
}
